package com.example.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CarServer {
  @Autowired
  private CarMapper carMapper;

  public List<Car> findAll() {
      return carMapper.findAll();
  }
}
